:root {
  --color-load: #ececec;
  --color-span: #00ff0a;
}

* {
  margin: 0;
  padding: 0;
}

html,
body,
#app {
  height: 100%;
}

@keyframes dragon-fly {
  10% {
    background-position-x: calc(100% + 640px);
  }
  95% {
    background-position-x: calc(0% - 800px);
    color: transparent;
    text-shadow: none;
  }
  100% {
    background-position-x: calc(0% - 800px);
    color: var(--color-span);
    text-shadow: 0 0 100px var(--color-span);
  }
}
@keyframes colorLoop {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
@keyframes mask-hidden {
  to {
    opacity: 0;
  }
}
.before-loading-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-load);
  background-image: url("/img/logo/logo_none.png");
  background-position: calc(100% + 640px) 50%;
  background-repeat: no-repeat;
  pointer-events: none;
  text-align: center;
  line-height: 100vh;
  font-size: 60px;
  font-weight: 900;
  color: transparent;
  animation: dragon-fly 1500ms cubic-bezier(0.66, 0.42, 0.53, -1.02) forwards,
    colorLoop 4s linear infinite;
}
.mask-hidden {
  opacity: 1;
  animation: mask-hidden 250ms linear forwards;
}
